#ifndef AUTHENTICATION_H
#define AUTHENTICATION_H

#include "User.h"

class Authentication
{
public:
    bool login(QString username, QString password);

    User * getUser();

    static Authentication * getInstance();

private:
    Authentication();
    ~Authentication();

    User *currentUser;

    static Authentication *authInst;
};

#endif // AUTHENTICATION_H
